
package common;

import java.net.InetAddress;

/**
 * Class Text
 */

public class Text extends Message{
    private String content;
    
    /**
     * Constructor
     * @param addr
     *        IP Address
     * @param texte
     *        Text to send
     */
    public Text(InetAddress addr , String texte){
        this.content = texte;
        this.addr = addr;
    }

    public String getContent(){
        return this.content;
    }
}